package mipushdemo.xiaomi.com.diyitonghang.presenter.contract.homecontract;

import mipushdemo.xiaomi.com.diyitonghang.data.bean.HomeDataBean;
import mipushdemo.xiaomi.com.diyitonghang.presenter.BasePresenter;
import mipushdemo.xiaomi.com.diyitonghang.ui.BaseView;

public interface IDataContract {
    interface IDataPresenter extends BasePresenter{
        void login(String channelId, String userId);
    }

    interface IDataView<IDataPresenter> extends BaseView<IDataPresenter>{
        void loading();
        void showData(HomeDataBean homeDataBean);
        void completed();
    }
}
